package com.pureut.quality.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/***
 * 检验方案配置表 实体
 * Author:C
 * Date:2023/02/02 16:57
 * @DESC
 */
@Data
@Accessors(chain = true)
@TableName("quality_scheme_configuration")
public class QualitySchemeConfiguration {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 检测阶别
     */
    private int itemRank;

    /**
     * 类别
     */
    private int category;

    /**
     * 生产阶别
     */
    private int productionLevel;

    /**
     * 物料类别
     */
    private long materialCategory;

    /**
     * 物料编码
     */
    private String materialCode;

    /**
     * 抽样方式
     */
    private int samplingMethod;

    /**
     * 抽样量
     */
    private long samplingNum;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 部门id
     */
    private long deptId;

    /**
     * 方案类别
     */
    private int schemeType;

}
